@import '@/app/styles/variables';

.wrapper {
  padding: 25px 0;
  border-bottom: 1px solid #e5e5e5;
  cursor: pointer;
  user-select: none;
}

.flex {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.icon {
  width: 36px;
  height: 36px;
}

.title {
  font-weight: 400;
  font-size: 24px;
  line-height: 34px;
}

.content {
  width: 100%;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: #808080;

  overflow-y: hidden;
  transition: max-height 0.2s ease-in-out;
  max-height: 0;

  & > * {
    margin-top: 25px;
  }

  &.active {
    display: block;
    max-height: 35em;
  }
}

@include media(sm) {
  .title {
    font-size: 20px;
    line-height: 30px;
  }

  .content {
    font-size: 16px;
    line-height: 24px;
  }
}

@include media(xs) {
  .icon {
    width: 32px;
    height: 32px;
  }

  .title {
    font-size: 18px;
    line-height: 25px;
  }

  .content {
    font-size: 16px;
    line-height: 24px;
  }
}
